package spring.chobo;

public class DaoFactory {
	public UserDao userDao(){
		return new UserDao(connectionMaker());
	}
	
	public AccountDao accountDao(){
		return new AccountDao(connectionMaker());
	}
	
	public MessageDao messageDao(){
		return new MessageDao(connectionMaker());
	}
	
	//house db에 접속
	public ConnectionMaker connectionMaker(){
		return new HouseConn();
	}
	
}
